package com.fqgj.sentry.manage.service;


import com.fqgj.sentry.manage.entity.McPermissionEntity;

import java.util.List;

/**
 * Created by liupengpeng
 *
 * @description
 * @create 2017-07-13 下午5:37
 */


public interface PermissionService {
    /**
     * 根据菜单id  查询权限集合
     * @param menuId
     * @return
     */
    List<McPermissionEntity> findListByMenuId(Long menuId);

    /**
     * 查询所有的菜单权限
     * @return
     */
    List<McPermissionEntity> selectList();

    /**
     * 根据id查询权限组
     * @param permissionId
     * @return
     */
    McPermissionEntity selectOneById(Long permissionId);


}
